import { post } from '@/utils/request'

export default {
  pageList: query => post('/api/admin/dataDictionary/page', query),
  edit: query => post('/api/admin/dataDictionary/edit', query),
  select: id => post('/api/admin/dataDictionary/select/' + id),
  deleteTask: id => post('/api/admin/dataDictionary/delete/' + id),
  codeList: () => post('/api/admin/dataDictionary/selectAllCode'),
  parentList: () => post('/api/admin/dataDictionary/selectAllJD')
}
